package com.csmht.tododemo.service;

import com.csmht.tododemo.pojo.dto.CommentDTO;
import com.csmht.tododemo.pojo.dto.CommentPageDTO;
import com.csmht.tododemo.pojo.vo.CommentVO;

import java.util.List;

public interface CommentService {
    CommentVO add(CommentDTO commentDTO);

    List<CommentVO> mainList(CommentPageDTO commentPageDTO);

    List<CommentVO> List(Long id, CommentPageDTO commentPageDTO);
}
